package com.tjetc.service;

import com.tjetc.common.JsonResult;

public interface LikesService {

   // 添加点赞 - 景点
   JsonResult addlikespot(Long userId, Long spotId);

   // 取消点赞 - 景点
   JsonResult cancellikesspot(Long bookmarkId);

   // 添加点赞 - 区域
   JsonResult addlikeregion(Long userId, Long regionId);

   // 取消点赞 - 区域
   JsonResult cancellikeregion(Long bookmarkId);

   // 添加点赞 - 游记
   JsonResult addliketravelogue(Long userId, Long travelogueId);

   // 取消点赞 - 游记
   JsonResult cancelliketravelogue(Long bookmarkId);

   // 添加点赞 - 攻略
   JsonResult addlikeguide(Long userId, Long guideId);

   // 取消点赞 - 攻略
   JsonResult cancellikeguide(Long bookmarkId);

   JsonResult islike(Long userId, Long spotId, Long type);
}
